﻿@model LTSMZ.life.Model.Orders
@{
    ViewBag.Title = "GetOrderId";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>修改订单信息</h2>

<table style="font-size:x-large;font-family:宋体;" class="table-striped">
    <tr>
        <td>商品名称</td>
        <td>@Html.TextBox("Pname", Model.Pname, new { @readonly = "readonly" })</td>
        <td>@Html.Label("Pname")</td>
    </tr>
    <tr>
        <td>商品数量</td>
        <td>@Html.TextBox("Num", Model.Num, new { @readoly = "readonly" })</td>
    </tr>
    <tr>
        <td>下单时间</td>
        <td>@Html.TextBox("OrderTime",Model.OrderTime, new { @readoly = "readonly" })</td>
    </tr>
    <tr>
        <td>订单状态</td>
        <td>
        <select id="Select1">
            <option>---请选择状态---</option>
            <option value="1">已支付</option>
            <option value="2">未支付</option>
            <option value="3">已审核</option>
            <option value="4">发货</option>
        </select>
        </td>
    </tr>
    <tr>
        <td>购买人</td>
        <td>@Html.TextBox("Mname",Model.Mname, new { @readoly = "readonly" })</td>
    </tr>
    <tr>
        <td>操作</td>
        <td><a onclick="Upt()">修改</a></td>
    </tr>
</table>
<script>
    function Upt()
    {
        var s = $("#Select1").val();
        alert(s);
    }
</script>